package com.alm.handle.service;

import com.alm.handle.core.domain.entity.SysAreaInfo;
import com.alm.handle.core.domain.entity.rs.StatisticsStatementRS;
import com.alm.handle.core.domain.entity.rs.StatisticsStatementSumRS;

import java.util.List;

public interface ISysAreaInfoService  {
    List<SysAreaInfo> selectAreaList(Long commpanyId);

    SysAreaInfo selectAreaInfoById(Long menuId);

    boolean hasChildByAreaId(Long menuId);

    int deleteAreaById(Long menuId);

    boolean checkMenuNameUnique(SysAreaInfo area);

    int insertArea(SysAreaInfo area);

    int updateArea(SysAreaInfo area);

    void  findAllChild(SysAreaInfo sysAreaInfo);

    List<StatisticsStatementRS> getStatisData(Integer areaid, Long startTime, Long endTime);



}
